home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10483 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: cpsc.ucalgary.ca!davidt
  2. From: davidt@cpsc.ucalgary.ca (David Taylor)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Please help -- c++ dweeb overwrote part of CMOS with far pointer :-(
  5. Date: 7 Mar 1996 00:31:56 GMT
  6. Organization: University of Calgary CPSC
  7. Message-ID: <4hlaps$3p6@linux.cpsc.ucalgary.ca>
  8. References: <4hb1t0$23l@mars.efn.org>
  9. NNTP-Posting-Host: fo.cpsc.ucalgary.ca
  10.  
  11. In article <4hb1t0$23l@mars.efn.org>, Chris Calef <ccalef@efn.org> wrote:
  12. >Hey everybody!  I got out of hand one night with a really complicated
  13. >class inheritance hierarchy and when I ran it it blew up in my face
  14. >and apparently overwrote or deleted part of my CMOS settings that have
  15. >to do with memory allocation.   As a result my computer is running
  16. >like an injured 286.  I put the settings that had changed back to
  17. >where I thought they should be, but it didn't help.  Can anyone hazard
  18. >a guess as to what I might have done and what I could do about it?
  19. >Thanks!
  20. >Chris
  21.  
  22. Overwrote the area in memory where the CMOS is mapped, I guess.  Or
  23. less likely, overwrote your code or stack which just happened to
  24. send the system into code that modified the CMOS.  There is nothing
  25. specific about clobbering CMOS that would indicate a specific bug.
  26.  
  27. The solution would be to use an operating system that has memory
  28. protection.  Ideally, a UNIX system.  Linux is a free implementation
  29. of UNIX for PC's.  No programmer should be without it.
  30.  
  31. -- 
  32. Andrew Taylor     |email: davidt@cpsc.ucalgary.ca
  33.                   |www:   http://www.cpsc.ucalgary.ca/~davidt
  34.